[INFO] fetching crate fork-of-zcash-bn 0.1.0...
[INFO] checking fork-of-zcash-bn-0.1.0 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate fork-of-zcash-bn 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate fork-of-zcash-bn 0.1.0 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fork-of-zcash-bn 0.1.0
[INFO] finished tweaking crates.io crate fork-of-zcash-bn 0.1.0
[INFO] tweaked toml for crates.io crate fork-of-zcash-bn 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate fork-of-zcash-bn 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ae4f8ca3eb34768f55edf29724bec310e278af9f7321b961f612cef03fdad2e
[INFO] running `Command { std: "docker" "start" "-a" "3ae4f8ca3eb34768f55edf29724bec310e278af9f7321b961f612cef03fdad2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ae4f8ca3eb34768f55edf29724bec310e278af9f7321b961f612cef03fdad2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ae4f8ca3eb34768f55edf29724bec310e278af9f7321b961f612cef03fdad2e", kill_on_drop: false }`
[INFO] [stdout] 3ae4f8ca3eb34768f55edf29724bec310e278af9f7321b961f612cef03fdad2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9edd0e70c57c2ec3301406d462abc8ee632a2e4b4ea3bfcf59dc54124a7b3994
[INFO] running `Command { std: "docker" "start" "-a" "9edd0e70c57c2ec3301406d462abc8ee632a2e4b4ea3bfcf59dc54124a7b3994", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.135
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking fork-of-zcash-bn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> examples/joux.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use substrate_bn::{Group, Fr, G1, G2, pairing};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> examples/dh.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use substrate_bn::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> benches/api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_bn::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fork-of-zcash-bn` (example "joux") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let alice_sk = Fr::random(rng);
[INFO] [stdout]    |                    ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let alice_sk = Fn::random(rng);
[INFO] [stdout]    |                    ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let bob_sk = Fr::random(rng);
[INFO] [stdout]    |                  ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let bob_sk = Fn::random(rng);
[INFO] [stdout]    |                  ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let carol_sk = Fr::random(rng);
[INFO] [stdout]    |                    ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let carol_sk = Fn::random(rng);
[INFO] [stdout]    |                    ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let alice_pk = G1::one() * alice_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let bob_pk = G1::one() * bob_sk;
[INFO] [stdout]    |                  ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let carol_pk = G1::one() * carol_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fork-of-zcash-bn` (example "dh") due to 8 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:28:43
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |            input(rng) = Fr::random(rng);
[INFO] [stdout]    |                         ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 |            input(rng) = Fn::random(rng);
[INFO] [stdout]    |                         ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:58:43
[INFO] [stdout]    |
[INFO] [stdout] 58 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:64:43
[INFO] [stdout]    |
[INFO] [stdout] 64 |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 64 |            input(rng) = (G1::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:70:43
[INFO] [stdout]    |
[INFO] [stdout] 70 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:76:26
[INFO] [stdout]    |
[INFO] [stdout] 76 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:82:43
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (G2::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |                let g1_1 = G1::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |                let g2_1 = G2::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 |                let g1_2 = G1::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |                let g2_2 = G2::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]   --> benches/api.rs:95:17
[INFO] [stdout]    |
[INFO] [stdout] 95 |                (pairing(g1_1, g2_1), pairing(g1_2, g2_2))
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::pairing;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]   --> benches/api.rs:95:38
[INFO] [stdout]    |
[INFO] [stdout] 95 |                (pairing(g1_1, g2_1), pairing(g1_2, g2_2))
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::pairing;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                let g1 = G1::random(rng);
[INFO] [stdout]     |                         ^^ use of undeclared type `G1`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:104:25
[INFO] [stdout]     |
[INFO] [stdout] 104 |                let g2 = G2::random(rng);
[INFO] [stdout]     |                         ^^ use of undeclared type `G2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |                pairing(g1, g2)
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::pairing;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> benches/api.rs:107:15
[INFO] [stdout]     |
[INFO] [stdout] 107 |            }, Fr::random(rng));
[INFO] [stdout]     |               ^^ use of undeclared type `Fr`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 107 |            }, Fn::random(rng));
[INFO] [stdout]     |               ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:113:26
[INFO] [stdout]     |
[INFO] [stdout] 113 |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G1`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:113:43
[INFO] [stdout]     |
[INFO] [stdout] 113 |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout]     |                                           ^^ use of undeclared type `G2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |            pairing(input.0, input.1)
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::pairing;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 27 | / benchmark!(fr_addition,
[INFO] [stdout] 28 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 29 | |
[INFO] [stdout] 30 | |            input.0 + input.1
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 33 | / benchmark!(fr_subtraction,
[INFO] [stdout] 34 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |            input.0 - input.1
[INFO] [stdout] 37 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 39 | / benchmark!(fr_multiplication,
[INFO] [stdout] 40 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 41 | |
[INFO] [stdout] 42 | |            input.0 * input.1
[INFO] [stdout] 43 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 45 | / benchmark!(fr_inverses,
[INFO] [stdout] 46 | |            input(rng) = Fr::random(rng);
[INFO] [stdout] 47 | |
[INFO] [stdout] 48 | |            input.inverse()
[INFO] [stdout] 49 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 51 | / benchmark!(g1_addition,
[INFO] [stdout] 52 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 53 | |
[INFO] [stdout] 54 | |            input.0 + input.1
[INFO] [stdout] 55 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 57 | / benchmark!(g1_subtraction,
[INFO] [stdout] 58 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 59 | |
[INFO] [stdout] 60 | |            input.0 - input.1
[INFO] [stdout] 61 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 63 | / benchmark!(g1_scalar_multiplication,
[INFO] [stdout] 64 | |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout] 65 | |
[INFO] [stdout] 66 | |            input.0 * input.1
[INFO] [stdout] 67 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 69 | / benchmark!(g2_addition,
[INFO] [stdout] 70 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |            input.0 + input.1
[INFO] [stdout] 73 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 75 | / benchmark!(g2_subtraction,
[INFO] [stdout] 76 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 77 | |
[INFO] [stdout] 78 | |            input.0 - input.1
[INFO] [stdout] 79 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 81 | / benchmark!(g2_scalar_multiplication,
[INFO] [stdout] 82 | |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout] 83 | |
[INFO] [stdout] 84 | |            input.0 * input.1
[INFO] [stdout] 85 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 87 | / benchmark!(fq12_scalar_multiplication,
[INFO] [stdout] 88 | |            input(rng) = {
[INFO] [stdout] 89 | |                let g1_1 = G1::random(rng);
[INFO] [stdout] 90 | |                let g2_1 = G2::random(rng);
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |            input.0 * input.1
[INFO] [stdout] 99 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 101 | / benchmark!(fq12_exponentiation,
[INFO] [stdout] 102 | |            input(rng) = ({
[INFO] [stdout] 103 | |                let g1 = G1::random(rng);
[INFO] [stdout] 104 | |                let g2 = G2::random(rng);
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |            input.0.pow(input.1)
[INFO] [stdout] 110 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 112 | / benchmark!(perform_pairing,
[INFO] [stdout] 113 | |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout] 114 | |
[INFO] [stdout] 115 | |            pairing(input.0, input.1)
[INFO] [stdout] 116 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fork-of-zcash-bn` (bench "api") due to 47 previous errors
[INFO] running `Command { std: "docker" "inspect" "9edd0e70c57c2ec3301406d462abc8ee632a2e4b4ea3bfcf59dc54124a7b3994", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9edd0e70c57c2ec3301406d462abc8ee632a2e4b4ea3bfcf59dc54124a7b3994", kill_on_drop: false }`
[INFO] [stdout] 9edd0e70c57c2ec3301406d462abc8ee632a2e4b4ea3bfcf59dc54124a7b3994
[INFO] checking fork-of-zcash-bn-0.1.0 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate fork-of-zcash-bn 0.1.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate fork-of-zcash-bn 0.1.0 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fork-of-zcash-bn 0.1.0
[INFO] finished tweaking crates.io crate fork-of-zcash-bn 0.1.0
[INFO] tweaked toml for crates.io crate fork-of-zcash-bn 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate fork-of-zcash-bn 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07d32e47d282a1c0f6a525d532aa9492f7471988d2a56762f77866b41ab71c18
[INFO] running `Command { std: "docker" "start" "-a" "07d32e47d282a1c0f6a525d532aa9492f7471988d2a56762f77866b41ab71c18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07d32e47d282a1c0f6a525d532aa9492f7471988d2a56762f77866b41ab71c18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07d32e47d282a1c0f6a525d532aa9492f7471988d2a56762f77866b41ab71c18", kill_on_drop: false }`
[INFO] [stdout] 07d32e47d282a1c0f6a525d532aa9492f7471988d2a56762f77866b41ab71c18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d9a4241a6148b83ce218de4bb41040ff0e2d9db839a6c45b2406d90854d628d
[INFO] running `Command { std: "docker" "start" "-a" "4d9a4241a6148b83ce218de4bb41040ff0e2d9db839a6c45b2406d90854d628d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.135
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking fork-of-zcash-bn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/arith.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/arith.rs:91:41
[INFO] [stdout]    |
[INFO] [stdout] 91 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/arith.rs:92:44
[INFO] [stdout]    |
[INFO] [stdout] 92 |             n[l] = BigEndian::read_u128(&s[i..]);
[INFO] [stdout]    |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 120 |         for i in (0..512).rev() {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:142:41
[INFO] [stdout]     |
[INFO] [stdout] 142 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:143:46
[INFO] [stdout]     |
[INFO] [stdout] 143 |             n[l] = BigEndian::read_u128(&buf[i..]);
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:211:24
[INFO] [stdout]     |
[INFO] [stdout] 211 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:211:41
[INFO] [stdout]     |
[INFO] [stdout] 211 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:212:44
[INFO] [stdout]     |
[INFO] [stdout] 212 |             n[l] = BigEndian::read_u128(&s[i..]);
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:226:24
[INFO] [stdout]     |
[INFO] [stdout] 226 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:226:41
[INFO] [stdout]     |
[INFO] [stdout] 226 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:227:42
[INFO] [stdout]     |
[INFO] [stdout] 227 |             BigEndian::write_u128(&mut s[i..], self.0[l]);
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:544:31
[INFO] [stdout]     |
[INFO] [stdout] 544 |     this.copy_from_slice(&res[2..]);
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/fp.rs:26:22
[INFO] [stdout]     |
[INFO] [stdout] 26  |                       (0..11).map(|_| {let tmp = acc; acc = acc + Self::one(); tmp}).collect()
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 | / field_impl!(
[INFO] [stdout] 167 | |     Fr,
[INFO] [stdout] 168 | |     [
[INFO] [stdout] 169 | |         0x43e1f593f0000001,
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | |     0x6586864b4c6911b3c2e1f593efffffff
[INFO] [stdout] 193 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/fp.rs:26:22
[INFO] [stdout]     |
[INFO] [stdout] 26  |                       (0..11).map(|_| {let tmp = acc; acc = acc + Self::one(); tmp}).collect()
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 | / field_impl!(
[INFO] [stdout] 196 | |     Fq,
[INFO] [stdout] 197 | |     [
[INFO] [stdout] 198 | |         0x3c208c16d87cfd47,
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |     0x9ede7d651eca6ac987d20782e4866389
[INFO] [stdout] 222 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lib.rs:363:40
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let fq = Fq::from_slice(&bytes[1..])?;
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lib.rs:511:40
[INFO] [stdout]     |
[INFO] [stdout] 511 |         let x = Fq2::from_slice(&bytes[1..])?;
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/arith.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]    |                        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/arith.rs:91:41
[INFO] [stdout]    |
[INFO] [stdout] 91 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/arith.rs:92:44
[INFO] [stdout]    |
[INFO] [stdout] 92 |             n[l] = BigEndian::read_u128(&s[i..]);
[INFO] [stdout]    |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 120 |         for i in (0..512).rev() {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:142:41
[INFO] [stdout]     |
[INFO] [stdout] 142 |         for (l, i) in (0..4).rev().zip((0..4).map(|i| i * 16)) {
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:143:46
[INFO] [stdout]     |
[INFO] [stdout] 143 |             n[l] = BigEndian::read_u128(&buf[i..]);
[INFO] [stdout]     |                                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:211:24
[INFO] [stdout]     |
[INFO] [stdout] 211 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:211:41
[INFO] [stdout]     |
[INFO] [stdout] 211 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:212:44
[INFO] [stdout]     |
[INFO] [stdout] 212 |             n[l] = BigEndian::read_u128(&s[i..]);
[INFO] [stdout]     |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:226:24
[INFO] [stdout]     |
[INFO] [stdout] 226 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:226:41
[INFO] [stdout]     |
[INFO] [stdout] 226 |         for (l, i) in (0..2).rev().zip((0..2).map(|i| i * 16)) {
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:227:42
[INFO] [stdout]     |
[INFO] [stdout] 227 |             BigEndian::write_u128(&mut s[i..], self.0[l]);
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/arith.rs:544:31
[INFO] [stdout]     |
[INFO] [stdout] 544 |     this.copy_from_slice(&res[2..]);
[INFO] [stdout]     |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arith.rs:599:14
[INFO] [stdout]     |
[INFO] [stdout] 599 |     for _ in 0..100 {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/fp.rs:26:22
[INFO] [stdout]     |
[INFO] [stdout] 26  |                       (0..11).map(|_| {let tmp = acc; acc = acc + Self::one(); tmp}).collect()
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 | / field_impl!(
[INFO] [stdout] 167 | |     Fr,
[INFO] [stdout] 168 | |     [
[INFO] [stdout] 169 | |         0x43e1f593f0000001,
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | |     0x6586864b4c6911b3c2e1f593efffffff
[INFO] [stdout] 193 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/fp.rs:26:22
[INFO] [stdout]     |
[INFO] [stdout] 26  |                       (0..11).map(|_| {let tmp = acc; acc = acc + Self::one(); tmp}).collect()
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 | / field_impl!(
[INFO] [stdout] 196 | |     Fq,
[INFO] [stdout] 197 | |     [
[INFO] [stdout] 198 | |         0x3c208c16d87cfd47,
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |     0x9ede7d651eca6ac987d20782e4866389
[INFO] [stdout] 222 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `field_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/fp.rs:271:14
[INFO] [stdout]     |
[INFO] [stdout] 271 |     for _ in 0..1000 {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/fp.rs:279:14
[INFO] [stdout]     |
[INFO] [stdout] 279 |     for _ in 0..1000 {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/fields/tests.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for _ in 0..10000 {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     for _ in 0..10000 {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for _ in 0..100 {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for _ in 0..100 {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |     for _ in 0..100 {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |     for _ in 0..100 {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |     for _ in 0..100 {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |         for _ in 0..10 {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/fields/tests.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |     for _ in 0..10000 {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/tests.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 |     for _ in 0..250 {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/mod.rs:153:14
[INFO] [stdout]     |
[INFO] [stdout] 153 |     for _ in 0..100 {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/mod.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |     for _ in 0..10 {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/fields/mod.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |     for _ in 0..10 {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/groups/tests.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     for _ in 0..50 {
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/groups/tests.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     for _ in 0..50 {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/groups/tests.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |     for _ in 0..50 {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/groups/tests.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     for _ in 0..50 {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/groups/tests.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |         for _ in 0..10 {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/groups/tests.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for _ in 0..10 {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/groups/mod.rs:498:14
[INFO] [stdout]     |
[INFO] [stdout] 498 |     for _ in 0..1000 {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/groups/mod.rs:506:14
[INFO] [stdout]     |
[INFO] [stdout] 506 |     for _ in 0..1000 {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/groups/mod.rs:1078:14
[INFO] [stdout]      |
[INFO] [stdout] 1078 |     for _ in 0..50 {
[INFO] [stdout]      |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/groups/mod.rs:1105:14
[INFO] [stdout]      |
[INFO] [stdout] 1105 |     for _ in 0..50 {
[INFO] [stdout]      |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lib.rs:363:40
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let fq = Fq::from_slice(&bytes[1..])?;
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/lib.rs:511:40
[INFO] [stdout]     |
[INFO] [stdout] 511 |         let x = Fq2::from_slice(&bytes[1..])?;
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> examples/joux.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use substrate_bn::{Group, Fr, G1, G2, pairing};
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> examples/dh.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use substrate_bn::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `substrate_bn`
[INFO] [stdout]  --> benches/api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use substrate_bn::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `substrate_bn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fork-of-zcash-bn` (example "joux") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let alice_sk = Fr::random(rng);
[INFO] [stdout]    |                    ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let alice_sk = Fn::random(rng);
[INFO] [stdout]    |                    ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let bob_sk = Fr::random(rng);
[INFO] [stdout]    |                  ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let bob_sk = Fn::random(rng);
[INFO] [stdout]    |                  ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> examples/dh.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let carol_sk = Fr::random(rng);
[INFO] [stdout]    |                    ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let carol_sk = Fn::random(rng);
[INFO] [stdout]    |                    ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let alice_pk = G1::one() * alice_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let bob_pk = G1::one() * bob_sk;
[INFO] [stdout]    |                  ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> examples/dh.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let carol_pk = G1::one() * carol_sk;
[INFO] [stdout]    |                    ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fork-of-zcash-bn` (example "dh") due to 8 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:28:43
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 34 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fn::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 40 |            input(rng) = (Fr::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |            input(rng) = Fr::random(rng);
[INFO] [stdout]    |                         ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 |            input(rng) = Fn::random(rng);
[INFO] [stdout]    |                         ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 44 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:58:43
[INFO] [stdout]    |
[INFO] [stdout] 58 |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:64:43
[INFO] [stdout]    |
[INFO] [stdout] 64 |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 64 |            input(rng) = (G1::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:70:43
[INFO] [stdout]    |
[INFO] [stdout] 70 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:76:26
[INFO] [stdout]    |
[INFO] [stdout] 76 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout]    |                          ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]   --> benches/api.rs:82:43
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout]    |                                           ^^ use of undeclared type `Fr`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 |            input(rng) = (G2::random(rng), Fn::random(rng));
[INFO] [stdout]    |                                           ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |                let g1_1 = G1::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |                let g2_1 = G2::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]   --> benches/api.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 |                let g1_2 = G1::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G1;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]   --> benches/api.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |                let g2_2 = G2::random(rng);
[INFO] [stdout]    |                           ^^ use of undeclared type `G2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::G2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]   --> benches/api.rs:95:17
[INFO] [stdout]    |
[INFO] [stdout] 95 |                (pairing(g1_1, g2_1), pairing(g1_2, g2_2))
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::pairing;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]   --> benches/api.rs:95:38
[INFO] [stdout]    |
[INFO] [stdout] 95 |                (pairing(g1_1, g2_1), pairing(g1_2, g2_2))
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use fork_of_zcash_bn::pairing;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                let g1 = G1::random(rng);
[INFO] [stdout]     |                         ^^ use of undeclared type `G1`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:104:25
[INFO] [stdout]     |
[INFO] [stdout] 104 |                let g2 = G2::random(rng);
[INFO] [stdout]     |                         ^^ use of undeclared type `G2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |                pairing(g1, g2)
[INFO] [stdout]     |                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::pairing;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> benches/api.rs:107:15
[INFO] [stdout]     |
[INFO] [stdout] 107 |            }, Fr::random(rng));
[INFO] [stdout]     |               ^^ use of undeclared type `Fr`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 107 |            }, Fn::random(rng));
[INFO] [stdout]     |               ~~
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1`
[INFO] [stdout]    --> benches/api.rs:113:26
[INFO] [stdout]     |
[INFO] [stdout] 113 |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout]     |                          ^^ use of undeclared type `G1`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2`
[INFO] [stdout]    --> benches/api.rs:113:43
[INFO] [stdout]     |
[INFO] [stdout] 113 |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout]     |                                           ^^ use of undeclared type `G2`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::G2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope
[INFO] [stdout]    --> benches/api.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |            pairing(input.0, input.1)
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use fork_of_zcash_bn::pairing;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 | / benchmark!(fr_addition,
[INFO] [stdout] 28 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 29 | |
[INFO] [stdout] 30 | |            input.0 + input.1
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 | / benchmark!(fr_subtraction,
[INFO] [stdout] 34 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |            input.0 - input.1
[INFO] [stdout] 37 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 | / benchmark!(fr_multiplication,
[INFO] [stdout] 40 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 41 | |
[INFO] [stdout] 42 | |            input.0 * input.1
[INFO] [stdout] 43 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 | / benchmark!(fr_inverses,
[INFO] [stdout] 46 | |            input(rng) = Fr::random(rng);
[INFO] [stdout] 47 | |
[INFO] [stdout] 48 | |            input.inverse()
[INFO] [stdout] 49 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 | / benchmark!(g1_addition,
[INFO] [stdout] 52 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 53 | |
[INFO] [stdout] 54 | |            input.0 + input.1
[INFO] [stdout] 55 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 | / benchmark!(g1_subtraction,
[INFO] [stdout] 58 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 59 | |
[INFO] [stdout] 60 | |            input.0 - input.1
[INFO] [stdout] 61 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 | / benchmark!(g1_scalar_multiplication,
[INFO] [stdout] 64 | |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout] 65 | |
[INFO] [stdout] 66 | |            input.0 * input.1
[INFO] [stdout] 67 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 | / benchmark!(g2_addition,
[INFO] [stdout] 70 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |            input.0 + input.1
[INFO] [stdout] 73 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 | / benchmark!(g2_subtraction,
[INFO] [stdout] 76 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 77 | |
[INFO] [stdout] 78 | |            input.0 - input.1
[INFO] [stdout] 79 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 | / benchmark!(g2_scalar_multiplication,
[INFO] [stdout] 82 | |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout] 83 | |
[INFO] [stdout] 84 | |            input.0 * input.1
[INFO] [stdout] 85 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> benches/api.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 | / benchmark!(fq12_scalar_multiplication,
[INFO] [stdout] 88 | |            input(rng) = {
[INFO] [stdout] 89 | |                let g1_1 = G1::random(rng);
[INFO] [stdout] 90 | |                let g2_1 = G2::random(rng);
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |            input.0 * input.1
[INFO] [stdout] 99 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> benches/api.rs:12:35
[INFO] [stdout]     |
[INFO] [stdout] 12  |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]     |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 | / benchmark!(fq12_exponentiation,
[INFO] [stdout] 102 | |            input(rng) = ({
[INFO] [stdout] 103 | |                let g1 = G1::random(rng);
[INFO] [stdout] 104 | |                let g2 = G2::random(rng);
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |            input.0.pow(input.1)
[INFO] [stdout] 110 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> benches/api.rs:12:35
[INFO] [stdout]     |
[INFO] [stdout] 12  |               let $input: Vec<_> = (0..SAMPLES).map(|_| $pre).collect();
[INFO] [stdout]     |                                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 | / benchmark!(perform_pairing,
[INFO] [stdout] 113 | |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout] 114 | |
[INFO] [stdout] 115 | |            pairing(input.0, input.1)
[INFO] [stdout] 116 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 27 | / benchmark!(fr_addition,
[INFO] [stdout] 28 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 29 | |
[INFO] [stdout] 30 | |            input.0 + input.1
[INFO] [stdout] 31 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 33 | / benchmark!(fr_subtraction,
[INFO] [stdout] 34 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |            input.0 - input.1
[INFO] [stdout] 37 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 39 | / benchmark!(fr_multiplication,
[INFO] [stdout] 40 | |            input(rng) = (Fr::random(rng), Fr::random(rng));
[INFO] [stdout] 41 | |
[INFO] [stdout] 42 | |            input.0 * input.1
[INFO] [stdout] 43 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 45 | / benchmark!(fr_inverses,
[INFO] [stdout] 46 | |            input(rng) = Fr::random(rng);
[INFO] [stdout] 47 | |
[INFO] [stdout] 48 | |            input.inverse()
[INFO] [stdout] 49 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 51 | / benchmark!(g1_addition,
[INFO] [stdout] 52 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 53 | |
[INFO] [stdout] 54 | |            input.0 + input.1
[INFO] [stdout] 55 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 57 | / benchmark!(g1_subtraction,
[INFO] [stdout] 58 | |            input(rng) = (G1::random(rng), G1::random(rng));
[INFO] [stdout] 59 | |
[INFO] [stdout] 60 | |            input.0 - input.1
[INFO] [stdout] 61 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 63 | / benchmark!(g1_scalar_multiplication,
[INFO] [stdout] 64 | |            input(rng) = (G1::random(rng), Fr::random(rng));
[INFO] [stdout] 65 | |
[INFO] [stdout] 66 | |            input.0 * input.1
[INFO] [stdout] 67 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 69 | / benchmark!(g2_addition,
[INFO] [stdout] 70 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 71 | |
[INFO] [stdout] 72 | |            input.0 + input.1
[INFO] [stdout] 73 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 75 | / benchmark!(g2_subtraction,
[INFO] [stdout] 76 | |            input(rng) = (G2::random(rng), G2::random(rng));
[INFO] [stdout] 77 | |
[INFO] [stdout] 78 | |            input.0 - input.1
[INFO] [stdout] 79 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 81 | / benchmark!(g2_scalar_multiplication,
[INFO] [stdout] 82 | |            input(rng) = (G2::random(rng), Fr::random(rng));
[INFO] [stdout] 83 | |
[INFO] [stdout] 84 | |            input.0 * input.1
[INFO] [stdout] 85 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]   --> benches/api.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 87 | / benchmark!(fq12_scalar_multiplication,
[INFO] [stdout] 88 | |            input(rng) = {
[INFO] [stdout] 89 | |                let g1_1 = G1::random(rng);
[INFO] [stdout] 90 | |                let g2_1 = G2::random(rng);
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |            input.0 * input.1
[INFO] [stdout] 99 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 101 | / benchmark!(fq12_exponentiation,
[INFO] [stdout] 102 | |            input(rng) = ({
[INFO] [stdout] 103 | |                let g1 = G1::random(rng);
[INFO] [stdout] 104 | |                let g2 = G2::random(rng);
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |            input.0.pow(input.1)
[INFO] [stdout] 110 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test`
[INFO] [stdout]    --> benches/api.rs:10:26
[INFO] [stdout]     |
[INFO] [stdout] 10  |           fn $name(b: &mut test::Bencher) {
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `test`
[INFO] [stdout] ...
[INFO] [stdout] 112 | / benchmark!(perform_pairing,
[INFO] [stdout] 113 | |            input(rng) = (G1::random(rng), G2::random(rng));
[INFO] [stdout] 114 | |
[INFO] [stdout] 115 | |            pairing(input.0, input.1)
[INFO] [stdout] 116 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fork-of-zcash-bn` (bench "api") due to 47 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4d9a4241a6148b83ce218de4bb41040ff0e2d9db839a6c45b2406d90854d628d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d9a4241a6148b83ce218de4bb41040ff0e2d9db839a6c45b2406d90854d628d", kill_on_drop: false }`
[INFO] [stdout] 4d9a4241a6148b83ce218de4bb41040ff0e2d9db839a6c45b2406d90854d628d
